<script src="http://unpkg.com/jquery"></script>
<h1>方法1</h1>
<script src=https://unpkg.com/sweetalert/dist/sweetalert.min.js></script>
<button>测试</button>
<script>
$('button:eq(0)').click(function() {
    swal({
        title:  '登录成功',
        text: "神龙教商城提示!",
        // icon: "success",
        icon: "error",
        button: "确定!",
    });
})
</script>


<h2>方法2</h2>

百度jq 提示框插件